
package com.freeme.cameraplugin.posemode.model;

public class PosetemInfo {
    public int layoutId;
    public int thumbnailId;
    public int primitiveId;
    public int promptId;

    public String thumbnailUrl;
    public String primitiveUrl;
    public String prompt;
    public String type;

    public PosetemInfo() {

    }

    public PosetemInfo(int lId, int tId, int priId, int proId) {
        layoutId = lId;
        thumbnailId = tId;
        primitiveId = priId;
        promptId = proId;
    }

    public PosetemInfo(int lId, String tUrl, String pUrl, String pStr) {
        layoutId = lId;
        thumbnailUrl = tUrl;
        primitiveUrl = pUrl;
        prompt = pStr;
        thumbnailId = 0;
        primitiveId = 0;
        promptId = 0;
    }

    public void setType(String t) {
        type = t;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder(getClass().getName());
        String ret = sb.append(":").append("layoutId = " + layoutId)
                .append(",thumbnailId = " + thumbnailId)
                .append(",primitiveId = " + primitiveId)
                .append(",promptId = " + promptId)
                .append(",thumbnailUrl = " + thumbnailUrl)
                .append(",primitiveUrl = " + primitiveUrl)
                .append(",prompt =" + prompt)
                .append(",type = " + type).toString();
        return ret;
    }
}
